﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="home.ascx.cs" Inherits="control_client_home" %>

<script type="text/javascript" language="javascript">
    function catchuoi(str,n)
    {    
         var s=""; 
         var stringSplitArray = str.split(" ");

         var j = 0;
         if(n> stringSplitArray.length)
         {
            s= str;
         }
         else
         {
             for(j = 0; j < n; j++)
             {
               s= s + stringSplitArray[j] + " ";
             }
             s = s+ "...";
         }
         if(s=="")
         {
            document.write("Đang cập nhật!<br />");
         }
         document.write(s);
    }
</script>

<div class="blog">
    <div id="breadcrumb">
        <ol>
            <li class="breacrumbs_home last">
            <a href="index.html">Trang chủ</a>
            </li>                                                           
        </ol> 
        <div style="float:right">
            <img src="images/icon/alarmd.png" style="width:26px; height:26px; position:absolute; margin:-5px 0 0 -30px" />
            <div id="mylabel" style="font-size:17px; font-style:italic; text-shadow: black 0.1em 0.1em 0.2em; "></div>                                                       
        </div>
    </div>
                                                    
    <div class="slide-vstech">
        <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="500" height="200" id="Object6" align="middle" >
            <param name="movie" value="download/media/swf/desktop_vsc.swf" />
            <param name="quality" value="high" />
            <param name="allowFullScreen" value="true" />
            <param name="wmode" value="transparent" />
            <param name="allowScriptAccess" value="always" />
            <param name="_flashcreator" value="http://www.photo-flash-maker.com" />
            <param name="_flashhost" value="http://www.go2album.com" />
            <embed src="download/media/swf/desktop_vsc.swf" width="500" height="200" quality="high" allowFullScreen="true" wmode="transparent" allowScriptAccess="always" name="tech" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
        </object>
    </div><br />
    <!-- Begin tabs 1 -->
    <div id="tabs1" class="ice-slideshow-white ice-top-sl-white" style="height:100%; width:auto">
	    <div class="ice-navigator-wrapper clearfix">
        <!-- NAVIGATOR -->
            <div class="ice-navigator-outer">
                <ul class="ice-navigator">
                    <li>
                    <div>
                        <img src="images/banner/sale.png" alt="" width="64" height="64" />
                        Sản phẩm khuyến mãi
                    </div>
                    </li>
                    <li>
                    <div>
                        <img src="images/banner/sell.png" alt="" width="64" height="64" />
                        Sản phẩm bán chạy
                    </div>
                    </li>
                    <li>
                    <div>
                        <img src="images/banner/view-more.png" alt="" width="64" height="64" />
                        Sản phẩm xem nhiều nhất
                    </div>
                    </li>                                                                                               		
                </ul>                                                               
            </div>                                                          
 	    <!-- END NAVIGATOR //-->
        </div>         
        <!-- MAIN CONTENT --> 
        <div class="ice-main-wapper" style="height:730px;width:100%;">
            <!-- begin sản phẩm khuyến mãi-->
            <div class="ice-main-item"> 
                <div class="ice-description">
                    <asp:DataList ID="dlSanPhamKhuyenMai" RepeatDirection="Horizontal" 
                        RepeatColumns="2" RepeatLayout="Table" runat="server" 
                        onitemcommand="dlSanPhamKhuyenMai_ItemCommand">
                        <HeaderTemplate>
                        <table style="width:500px">
                        <tr>
                        </HeaderTemplate>
                        <ItemTemplate>                        
                            <td valign="top" style="width:230px; padding:0">
                                <!-- Begin information product-->
                                <table>
                                    <tr>
                                        <span style="display:none"><%= sttKhuyenMai++ %></span>
                                        <td colspan="2"><b><script language="javascript"> catchuoi('<%# Eval("TenSanPham") %>', 8);</script></b></td>
                                    </tr>
                                    <tr>
                                        <td valign="bottom"><a href="#"><img src='<%# "images/imageproductadd/" + Eval("Hinh") %>' alt="" width="110px" height="91px" /></a></td>
                                        <td valign="bottom">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/buy.png" Width="80px" Height="50px" CommandArgument='<%# Eval("Id") %>' CommandName="buy" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Thông tin sản phẩm:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">                                                                                        
                                            <div style="height:85px;">
                                                <script language="javascript"> catchuoi('<%# Eval("TomTatThongTin") %>', 23);</script>                                                
                                                <br /><a href='<%# "DetailProduct.aspx?key=" + Eval("Id") %>'>Chi tiết...</a>
                                            </div>                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Khuyến mãi:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <script language="javascript"> catchuoi('<%# Eval("KhuyenMai") %>', 6);</script>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; color:Red; font-style:italic; font-weight:bold;" colspan="2">Giá: <%#Eval("DonGia", "{0:#,##0}")%> VND&nbsp;</td>
                                    </tr>
                                    <% if (sttKhuyenMai == 2 || sttKhuyenMai == 3)
                                       {%>                                    
                                    <tr>
                                        <td colspan="2"><img style="margin-left:10px; margin-top:30px" src="images/bg/link_shadow_hor.png" width="200px" alt="" /></td>
                                    </tr>
                                    <%} %>
                                </table>
                                <!-- End information product -->
                                <!-- Begin rating product-->                                                                
                                <!-- End rating product-->
                                <!-- Begin result rating-->                                 
                                <!-- End result rating-->
                            </td>
                            <% if (sttKhuyenMai == 2 || sttKhuyenMai == 4)
                               { %>
                            <td valign="top"><img src="images/bg/link_shadow.png" height="330px" alt="" /></td>
                            <% } %>                                                                            
                        </ItemTemplate>                                               
                        <FooterTemplate>
                            </tr>                        
                        </table>
                        </FooterTemplate>
                    </asp:DataList>                                                                                                                                                                                                                                                                                                                                                                                                                                        
                </div>        
            </div>
            <!-- end sản phẩm khuyến mãi-->
            <!-- begin sản phẩm bán chạy-->
 		  	<div class="ice-main-item"> 
                <div class="ice-description">
                    <asp:DataList ID="dlSanPhamBanChay" RepeatDirection="Horizontal" 
                        RepeatColumns="2" RepeatLayout="Table" runat="server" 
                        onitemcommand="dlSanPhamBanChay_ItemCommand">
                        <HeaderTemplate>
                        <table style="width:500px">
                        <tr>
                        </HeaderTemplate>
                        <ItemTemplate>                        
                            <td valign="top" style="width:230px; padding:0">
                                <!-- Begin information product-->
                                <table>
                                    <tr>
                                        <span style="display:none"><%= sttBanChay++ %></span>
                                        <td colspan="2"><b><script language="javascript"> catchuoi('<%# Eval("TenSanPham") %>', 8);</script></b></td>
                                    </tr>
                                    <tr>
                                        <td valign="bottom"><a href="#"><img src='<%# "images/imageproductadd/" + Eval("Hinh") %>' alt="" width="110px" height="91px" /></a></td>
                                        <td valign="bottom">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/buy.png" Width="80px" Height="50px" CommandArgument='<%# Eval("Id") %>' CommandName="buy" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Thông tin sản phẩm:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">                                                                                        
                                            <div style="height:85px;">
                                                <script language="javascript"> catchuoi('<%# Eval("TomTatThongTin") %>', 23);</script>                                                
                                                <br /><a href='<%# "DetailProduct.aspx?key=" + Eval("Id") %>'>Chi tiết...</a>                                               
                                            </div>                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Khuyến mãi:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <script language="javascript"> catchuoi('<%# Eval("KhuyenMai") %>', 6);</script>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; color:Red; font-style:italic; font-weight:bold;" colspan="2">Giá: <%#Eval("DonGia", "{0:#,##0}")%> VNĐ&nbsp;</td>
                                    </tr>
                                    <% if (sttBanChay == 2 || sttBanChay == 3)
                                       {%>                                    
                                    <tr>
                                        <td colspan="2"><img style="margin-left:10px; margin-top:30px" src="images/bg/link_shadow_hor.png" width="200px" alt="" /></td>
                                    </tr>
                                    <%} %>
                                </table>
                                <!-- End information product -->
                                <!-- Begin rating product-->                                                                
                                <!-- End rating product-->
                                <!-- Begin result rating-->                                 
                                <!-- End result rating-->
                            </td>
                            <% if (sttBanChay == 2 || sttBanChay == 4)
                               { %>
                            <td valign="top"><img src="images/bg/link_shadow.png" height="330px" alt="" /></td>
                            <% } %>                                                                            
                        </ItemTemplate>                                               
                        <FooterTemplate>
                            </tr>                        
                        </table>
                        </FooterTemplate>
                    </asp:DataList>                                                                                                                                                                                                                                                                                                                                                                                                                                        
                </div>        
            </div>
            <!-- end sản phẩm bán chạy-->
            <!-- begin sản phẩm xem nhiều-->
            <div class="ice-main-item"> 
                <div class="ice-description">
                    <asp:DataList ID="dlSanPhamXemNhieu" RepeatDirection="Horizontal" 
                        RepeatColumns="2" RepeatLayout="Table" runat="server" 
                        onitemcommand="dlSanPhamXemNhieu_ItemCommand">
                        <HeaderTemplate>
                        <table style="width:500px">
                        <tr>
                        </HeaderTemplate>
                        <ItemTemplate>                        
                            <td valign="top" style="width:230px; padding:0">
                                <!-- Begin information product-->
                                <table>
                                    <tr>
                                        <span style="display:none"><%= sttXemNhieu++ %></span>
                                        <td colspan="2"><b><script language="javascript"> catchuoi('<%# Eval("TenSanPham") %>', 8);</script></b></td>
                                    </tr>
                                    <tr>
                                        <td valign="bottom"><a href="#"><img src='<%# "images/imageproductadd/" + Eval("Hinh") %>' alt="" width="110px" height="91px" /></a></td>
                                        <td valign="bottom">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/buy.png" Width="80px" Height="50px" CommandArgument='<%# Eval("Id") %>' CommandName="buy" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Thông tin sản phẩm:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">                                                                                        
                                            <div style="height:85px;">
                                                <script language="javascript"> catchuoi('<%# Eval("TomTatThongTin") %>', 23);</script>                                                
                                                <br /><a href='<%# "DetailProduct.aspx?key=" + Eval("Id") %>'>Chi tiết...</a>
                                            </div>                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Khuyến mãi:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <script language="javascript"> catchuoi('<%# Eval("KhuyenMai") %>', 6);</script>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; color:Red; font-style:italic; font-weight:bold;" colspan="2">Giá: <%#Eval("DonGia", "{0:#,##0}")%> VNĐ&nbsp;</td>
                                    </tr>
                                    <% if (sttXemNhieu == 2 || sttXemNhieu == 3)
                                       {%>                                    
                                    <tr>
                                        <td colspan="2"><img style="margin-left:10px; margin-top:30px" src="images/bg/link_shadow_hor.png" width="200px" alt="" /></td>
                                    </tr>
                                    <%} %>
                                </table>
                                <!-- End information product -->
                                <!-- Begin rating product-->                                                                
                                <!-- End rating product-->
                                <!-- Begin result rating-->                                 
                                <!-- End result rating-->
                            </td>
                            <% if (sttXemNhieu == 2 || sttXemNhieu == 4)
                               { %>
                            <td valign="top"><img src="images/bg/link_shadow.png" height="330px" alt="" /></td>
                            <% } %>                                                                            
                        </ItemTemplate>                                               
                        <FooterTemplate>
                            </tr>                        
                        </table>
                        </FooterTemplate>
                    </asp:DataList>                                                                                                                                                                                                                                                                                                                                                                                                                                        
                </div>        
            </div>
            <!-- end sản xem nhiều-->                		  	  
        </div>
        <!-- END MAIN CONTENT -->	 
        </div> 
    <script type="text/javascript">
        var _lofmain = $('tabs1');
        var object = new LofSlideshow(_lofmain.getElement('.ice-main-wapper'),
								        _lofmain.getElement('.ice-navigator-outer .ice-navigator'),
								        _lofmain.getElement('.ice-navigator-outer'),
								        {
								            fxObject: {
								                transition: Fx.Transitions.Sine.easeInOut,
								                duration: 700
								            },
								            interval: 7000,
								            direction: 'vrdown',
								            navItemHeight: 85,
								            navItemWidth: 170,
								            navItemsDisplay: 3,
								            navPos: 'top'
								        });
        object.registerButtonsControl('click', { next: _lofmain.getElement('.ice-next'), previous: _lofmain.getElement('.ice-previous') });
        object.start(1, _lofmain.getElement('.preload'));
    </script>
    <!-- Begin tabs 1 -->
    <!-- Begin tabs 2 -->
    <div id="tabs2" class="ice-slideshow-white ice-top-sl-white" style="height:100%; width:auto; margin-top:20px">
	    <div class="ice-navigator-wrapper clearfix">
        <!-- NAVIGATOR -->
            <div class="ice-navigator-outer">
                <ul class="ice-navigator">
                    <li>
                    <div>
                        <img src="images/banner/computer-component.png" alt="" width="64" height="64" />
                        Linh kiện
                    </div>
                    </li>
                    <li>
                    <div>
                        <img src="images/banner/office.png" alt="" width="64" height="64" />
                        Sản phẩm văn phòng
                    </div>
                    </li>
                    <li>
                    <div>
                        <img src="images/banner/provider.png" alt="" width="64" height="64" />
                        Máy văn phòng
                    </div>
                    </li>                                                                                               		
                </ul>                                                               
            </div>                                                          
 	    <!-- END NAVIGATOR //-->
        </div>         
        <!-- MAIN CONTENT --> 
        <div class="ice-main-wapper" style="height:730px;width:100%;">
            <!-- Begin máy - linh kiện-->
 		  	<div class="ice-main-item"> 
                <div class="ice-description">
                    <asp:DataList ID="dlLinhKien" RepeatDirection="Horizontal" 
                        RepeatColumns="2" RepeatLayout="Table" runat="server" 
                        onitemcommand="dlLinhKien_ItemCommand">
                        <HeaderTemplate>
                        <table style="width:500px">
                        <tr>
                        </HeaderTemplate>
                        <ItemTemplate>                        
                            <td valign="top" style="width:230px; padding:0">
                                <!-- Begin information product-->
                                <table>
                                    <tr>
                                        <span style="display:none"><%= sttLinhKien++%></span>
                                        <td colspan="2"><b><script language="javascript"> catchuoi('<%# Eval("TenSanPham") %>', 8);</script></b></td>
                                    </tr>
                                    <tr>
                                        <td valign="bottom"><a href="#"><img src='<%# "images/imageproductadd/" + Eval("Hinh") %>' alt="" width="110px" height="91px" /></a></td>
                                        <td valign="bottom">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/buy.png" Width="80px" Height="50px" CommandArgument='<%# Eval("Id") %>' CommandName="buy" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Thông tin sản phẩm:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">                                                                                        
                                            <div style="height:85px;">
                                                <script language="javascript"> catchuoi('<%# Eval("TomTatThongTin") %>', 23);</script>                                                
                                                <br /><a href='<%# "DetailProduct.aspx?key=" + Eval("Id") %>'>Chi tiết...</a>
                                            </div>                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Khuyến mãi:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <script language="javascript"> catchuoi('<%# Eval("KhuyenMai") %>', 6);</script>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; color:Red; font-style:italic; font-weight:bold;" colspan="2">Giá: <%#Eval("DonGia", "{0:#,##0}")%> VNĐ&nbsp;</td>
                                    </tr>
                                    <% if (sttLinhKien == 2 || sttLinhKien == 3)
                                       {%>                                    
                                    <tr>
                                        <td colspan="2"><img style="margin-left:10px; margin-top:30px" src="images/bg/link_shadow_hor.png" width="200px" alt="" /></td>
                                    </tr>
                                    <%} %>
                                </table>
                                <!-- End information product -->
                                <!-- Begin rating product-->                                                                
                                <!-- End rating product-->
                                <!-- Begin result rating-->                                 
                                <!-- End result rating-->
                            </td>
                            <% if (sttLinhKien == 2 || sttLinhKien == 4)
                               { %>
                            <td valign="top"><img src="images/bg/link_shadow.png" height="330px" alt="" /></td>
                            <% } %>                                                                            
                        </ItemTemplate>                                               
                        <FooterTemplate>
                            </tr>                        
                        </table>
                        </FooterTemplate>
                    </asp:DataList>                                                                                                                                                                                                                                                                                                                                                                                                                                        
                </div>        
            </div>
            <!-- End Máy - Linh kiện -->
            <!-- begin sản phẩm văn phòng-->
            <div class="ice-main-item"> 
                <div class="ice-description">
                    <asp:DataList ID="dlSanPhamVanPhong" RepeatDirection="Horizontal" 
                        RepeatColumns="2" RepeatLayout="Table" runat="server" 
                        onitemcommand="dlSanPhamVanPhong_ItemCommand">
                        <HeaderTemplate>
                        <table style="width:500px">
                        <tr>
                        </HeaderTemplate>
                        <ItemTemplate>                        
                            <td valign="top" style="width:230px; padding:0">
                                <!-- Begin information product-->
                                <table>
                                    <tr>
                                        <span style="display:none"><%= sttSanPhamVanPhong++%></span>
                                        <td colspan="2"><b><script language="javascript"> catchuoi('<%# Eval("TenSanPham") %>', 8);</script></b></td>
                                    </tr>
                                    <tr>
                                        <td valign="bottom"><a href="#"><img src='<%# "images/imageproductadd/" + Eval("Hinh") %>' alt="" width="110px" height="91px" /></a></td>
                                        <td valign="bottom">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/buy.png" Width="80px" Height="50px" CommandArgument='<%# Eval("Id") %>' CommandName="buy" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Thông tin sản phẩm:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">                                                                                        
                                            <div style="height:85px;">
                                                <script language="javascript"> catchuoi('<%# Eval("TomTatThongTin") %>', 23);</script>                                                
                                                <br /><a href='<%# "DetailProduct.aspx?key=" + Eval("Id") %>'>Chi tiết...</a>
                                            </div>                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Khuyến mãi:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <script language="javascript"> catchuoi('<%# Eval("KhuyenMai") %>', 6);</script>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; color:Red; font-style:italic; font-weight:bold;" colspan="2">Giá: <%#Eval("DonGia", "{0:#,##0}")%> VNĐ&nbsp;</td>
                                    </tr>
                                    <% if (sttSanPhamVanPhong == 2 || sttSanPhamVanPhong == 3)
                                       {%>                                    
                                    <tr>
                                        <td colspan="2"><img style="margin-left:10px; margin-top:30px" src="images/bg/link_shadow_hor.png" width="200px" alt="" /></td>
                                    </tr>
                                    <%} %>
                                </table>
                                <!-- End information product -->
                                <!-- Begin rating product-->                                                                
                                <!-- End rating product-->
                                <!-- Begin result rating-->                                 
                                <!-- End result rating-->
                            </td>
                            <% if (sttSanPhamVanPhong == 2 || sttSanPhamVanPhong == 4)
                               { %>
                            <td valign="top"><img src="images/bg/link_shadow.png" height="330px" alt="" /></td>
                            <% } %>                                                                            
                        </ItemTemplate>                                               
                        <FooterTemplate>
                            </tr>                        
                        </table>
                        </FooterTemplate>
                    </asp:DataList>                                                                                                                                                                                                                                                                                                                                                                                                                                        
                </div>        
            </div>
            <!-- end sản phẩm văn phòng-->
            <!-- begin nhà cung cấp-->
            <div class="ice-main-item"> 
                <div class="ice-description">
                    <asp:DataList ID="dlMayVanPhong" RepeatDirection="Horizontal" 
                        RepeatColumns="2" RepeatLayout="Table" runat="server" 
                        onitemcommand="dlMayVanPhong_ItemCommand">
                        <HeaderTemplate>
                        <table style="width:500px">
                        <tr>
                        </HeaderTemplate>
                        <ItemTemplate>                        
                            <td valign="top" style="width:230px; padding:0">
                                <!-- Begin information product-->
                                <table>
                                    <tr>
                                        <span style="display:none"><%= sttMayVanPhong++%></span>
                                        <td colspan="2"><b><script language="javascript"> catchuoi('<%# Eval("TenSanPham") %>', 8);</script></b></td>
                                    </tr>
                                    <tr>
                                        <td valign="bottom"><a href="#"><img src='<%# "images/imageproductadd/" + Eval("Hinh") %>' alt="" width="110px" height="91px" /></a></td>
                                        <td valign="bottom">
                                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/images/button/buy.png" Width="80px" Height="50px" CommandArgument='<%# Eval("Id") %>' CommandName="buy" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Thông tin sản phẩm:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">                                                                                        
                                            <div style="height:85px;">
                                                <script language="javascript"> catchuoi('<%# Eval("TomTatThongTin") %>', 23);</script>                                                
                                                <br /><a href='<%# "DetailProduct.aspx?key=" + Eval("Id") %>'>Chi tiết...</a>
                                            </div>                                            
                                        </td>
                                    </tr>
                                    <tr>
                                        <td colspan="2" style="color:Red; font-style:italic; font-weight:bold">Khuyến mãi:</td>
                                    </tr>
                                    <tr>
                                        <td colspan="2">
                                            <script language="javascript"> catchuoi('<%# Eval("KhuyenMai") %>', 6);</script>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td style="text-align:right; color:Red; font-style:italic; font-weight:bold;" colspan="2">Giá: <%#Eval("DonGia", "{0:#,##0}")%> VNĐ&nbsp;</td>
                                    </tr>
                                    <% if (sttMayVanPhong == 2 || sttMayVanPhong == 3)
                                       {%>                                    
                                    <tr>
                                        <td colspan="2"><img style="margin-left:10px; margin-top:30px" src="images/bg/link_shadow_hor.png" width="200px" alt="" /></td>
                                    </tr>
                                    <%} %>
                                </table>
                                <!-- End information product -->
                                <!-- Begin rating product-->                                                                
                                <!-- End rating product-->
                                <!-- Begin result rating-->                                 
                                <!-- End result rating-->
                            </td>
                            <% if (sttMayVanPhong == 2 || sttMayVanPhong == 4)
                               { %>
                            <td valign="top"><img src="images/bg/link_shadow.png" height="330px" alt="" /></td>
                            <% } %>                                                                            
                        </ItemTemplate>                                               
                        <FooterTemplate>
                            </tr>                        
                        </table>
                        </FooterTemplate>
                    </asp:DataList>                                                                                                                                                                                                                                                                                                                                                                                                                                        
                </div>        
            </div>
            <!-- end nhà cung cấp-->    		  	  
        </div>
        <!-- END MAIN CONTENT -->	 
        </div> 
    <script type="text/javascript">
        var _lofmain = $('tabs2');
        var object = new LofSlideshow(_lofmain.getElement('.ice-main-wapper'),
								        _lofmain.getElement('.ice-navigator-outer .ice-navigator'),
								        _lofmain.getElement('.ice-navigator-outer'),
								        {
								            fxObject: {
								                transition: Fx.Transitions.Sine.easeInOut,
								                duration: 700
								            },
								            interval: 5000,
								            direction: 'vrdown',
								            navItemHeight: 85,
								            navItemWidth: 170,
								            navItemsDisplay: 3,
								            navPos: 'top'
								        });
        object.registerButtonsControl('click', { next: _lofmain.getElement('.ice-next'), previous: _lofmain.getElement('.ice-previous') });
        object.start(1, _lofmain.getElement('.preload'));
    </script>
    <!-- End tabs 2 -->	                                                    	                                        		                                            					                                                                                        				                                                                                    		    
</div>




<!-- Begin rating product-->
<%--<table ID="rating2" runat="server">
    <tr>
        <td style="color:Red; font-style:italic; font-weight:bold">Đánh giá sản phẩm:</td>
    </tr>
    <tr>
        <td><b>Chất lượng</b></td>
        <td>&nbsp;</td>
        <td><b>Giá cả</b></td>
    </tr>
    <tr>
        <td>
            <input type="radio" name="poll" />&nbsp; Tốt 
        </td>
        <td rowspan="3" style="width:4px"><img src="images/bg/link-space.png" style="margin-left:-10px; height:70px; width:3px" /></td>
        <td>
            <input type="radio" name="poll" />&nbsp; Cao 
        </td>
    </tr>
    <tr>
        <td>
            <input type="radio" name="poll" />&nbsp; Bình thường 
        </td>                                        
        <td>
            <input type="radio" name="poll" />&nbsp; Hợp lý 
        </td>
    </tr>
    <tr>
        <td>
            <input type="radio" name="poll" />&nbsp; Chưa tốt
        </td>
        <td>
            <input type="radio" name="poll" />&nbsp; Thấp 
        </td>
    </tr>
    <tr>
        <td colspan="3" align="center">
            <span class="round">
                <span>
                    <asp:Button ID="btnRating2" runat="server" Width="60px" 
                Text="Đánh giá" 
                style="background-color:Transparent; margin-top:3px; text-shadow: 0px 1px 1px #222;" 
                BorderStyle="None" ForeColor="White" />
                </span>
            </span>
            <span class="round">
                <span>
                    <asp:Button ID="btnRatingResult2" runat="server" Width="60px" 
                Text="Kết quả" 
                style="background-color:Transparent; margin-top:3px; text-shadow: 0px 1px 1px #222;" 
                BorderStyle="None" ForeColor="White"/>
                </span>
            </span>
        </td>
    </tr>
</table>--%>                                
<!-- End rating product-->
<!-- Begin result rating-->
<%--<table ID="rating_result2" runat="server">
    <tr>
        <td colspan="3" style="color:Red; font-style:italic; font-weight:bold">Kết quả đánh giá:</td>
    </tr>
    <tr>
        <td><b>Chất lượng</b></td>
        <td>&nbsp;</td>
        <td><b>Giá cả</b></td>
    </tr>
    <tr>
        <td>
            <span style="font-size:11px">Tốt</span> 
        </td>
        <td rowspan="6" style="width:4px"><img src="images/bg/link-space.png" style="margin-left:0px; height:130px; width:3px" /></td>
        <td>
            <span style="font-size:11px">Cao</span 
        </td>
    </tr>
    <tr>
        <td>
            <span style="font-size:9px;">100%</span><img src="images/bg/rating-red.png" /> 
        </td>                                       
        <td>
            <span style="font-size:9px;">100%</span><img src="images/bg/rating-red.png" /> 
        </td>
    </tr>
    <tr>
        <td>
            <span style="font-size:11px">Bình thường</span> 
        </td>                                        
        <td>
            <span style="font-size:11px">Hợp lý</span> 
        </td>
    </tr>
    <tr>
        <td>
            <span style="font-size:9px;">100%</span><img src="images/bg/rating-yellow.png" /> 
        </td>                                       
        <td>
            <span style="font-size:9px;">100%</span><img src="images/bg/rating-yellow.png" /> 
        </td>
    </tr>
    <tr>
        <td>
            <span style="font-size:11px">Chưa tốt</span>
        </td>
        <td>
            <span style="font-size:11px">Thấp</span> 
        </td>
    </tr>
    <tr>
        <td>
            <span style="font-size:9px;">100%</span><img src="images/bg/rating-black.png" /> 
        </td>                                       
        <td>
            <span style="font-size:9px;">100%</span><img src="images/bg/rating-black.png" /> 
        </td>
    </tr>
    <tr>
        <td colspan="3" align="center">
            <span class="round">
                <span>
                    <asp:Button ID="btnRatingBack2" runat="server" Width="60px" 
                Text="Quay lại" 
                style="background-color:Transparent; margin-top:3px; text-shadow: 0px 1px 1px #222;" 
                BorderStyle="None" ForeColor="White" />
                </span>
            </span>
        </td>
    </tr>
</table>--%> 
<!-- End result rating-->